﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ComApp.Model;

namespace ComApp
{
    public class AppUnity
    {
       static public IAppUnity Instance { get; set; }
    }

    public interface IAppUnity
    {
        //InvokeInProxy -> InvokeOutProxy -> InvokeProxy -> WebSocketPool -> WebSocketClient
        //WebSocketHeart -> WebSocketClient
        void Start();
        void Close();
        User CurrentUser { get; }
        ILogService LogService { get; }
        void RunOnUiThread(Action action);
        IServerDeploy ServerDeploy { get; }
        EntityReflectService EntityReflectService { get; }
        //AppInvokeInProxy AppInvokeInProxy { get; }
        //SpyGameInvokeInProxy SpyGameInvokeInProxy { get; }
        //KillerGameInvokeInProxy KillerGameInvokeInProxy { get; }
    }
}
